package VN.EDU.IMIC.DEVELOPER.TRANTHITHANHNGA.ARRAY.EX1;

public class Controllers {

	private Models mObj;

	public Controllers() {
		mObj = new Models();
	}

	public double avergMark(double[]listMark){
		return mObj.averg(listMark);
	}
	public double[] arrayCompareToAverage(double[]listMark, short shOpt, double averg){
		return mObj.FindeElement(listMark, shOpt, mObj.averg(listMark));
		
	}
}
